import { get, post, put, del } from '@/utils/http/request'
import { R, P } from '@/utils/http/type'

export * from './types/store-menu'
import { ShopStoreMenuSelect } from './types/store-menu'

/**
 * 获取店铺菜单select
 */
export const getShopStoreMenuSelectList = (params: { name?: string }) => {
  return get<R<ShopStoreMenuSelect[]>>(`/store/select`, params)
}
